<template>
  <wd-config-provider :themeVars="themeVars" :style="{ height: '100%' }">
    <slot />
    <wd-toast />
    <wd-message-box />
  </wd-config-provider>
</template>

<script lang="ts" setup>
import type { ConfigProviderThemeVars } from 'wot-design-uni'

const themeVars: ConfigProviderThemeVars = {
  // colorTheme: 'red',
  buttonPrimaryBgColor: '#3FB674',
  buttonPrimaryColor: '#ffffff',
  // switch 默认开关颜色
  switchActiveColor: '#3FB674',
}
</script>
